import React, { Component } from "react";
import { withRouter } from "react-router-dom";
import "./searchInput.css";
class SearchInput extends Component {
	handleClick = (params) => {
		this.props.history.push("/searchCenter")
	}
	render() {
		return (
			<div className="search-input">
				<div className="search-input-content" onClick={this.handleClick}>
					搜索
				</div>
			</div>
		);
	}
}

export default withRouter(SearchInput);
